runge kutta method implemented