Replaced Euler's method with 4th-order Runge-Kutta