Bug in code that set timesteps fixed.