Implemented magnetic field (correctly)

moved from having part of the length in mm an part of them in meters to have everything in meters.