Change integration method to RK4