modeifed ODE and Vector.h