Added limits on time span and initial conditions