deSolve in place of depricated odesolve