Continued in Declaring ForwardDiff tag directly with a DifferentialEquations integrator / nested function