Fixed bug with numpy datatypes in physics simulator.