Updated the timeStep class to use Intervals