Put _input in inner loop in front of call to _ode