Oops. Fix bug where the time step was calculated incorrectly.