RK4 method added