Made changes to magnetic field jacobian. There was an error in the calculation.