Trying out an alternative formulation using closures to tie problem data to the equation of motion