Update integrator.c