worked on runge-kutta code