Implemented Runge Kutta fourth order (ODE solver).