Swig wrapper for NBodySimulator c++ api
Correctly updates positions based on time