Improved rk45 integrator