Debugged BFieldSim