Added fixed timestep loop.