Added pause functionality, added timestep