Glitches from magnetic field inclusion fixed.

cdtens saved in the right place and B=0 solution found only twice -
further work needed to avoid time wasting in B=0 simulations.