fixed issue with multiple event triggers when events trigger at the same time, clean up in CVODEIntegrator