Added a fixed time step loop.