ODE solver using python and octave