fixed a critical error in RK4