corrected double_integrator calculations