PDF
Code is
https://bitbucket.org/robot-learning/magneticcontrollaw/branch/release/Journal?dest=master