catkinzed version of odeint_v2