adding altered simulator.cpp and example slugsin file. Also fixing some consistency checks in the Dynamics Visualizer python code