[dev] Updating ode and jac functions.