RK4 and lf integrator