essentially done with unit tests for local dipole magnetic field model