Changed the argument passing to derivatives so that it is consistent with how odeint works