Adding adaptive RK4