Solved the algorithm analytically using Linear LSF
Packaged v into v'(m) to include velocity and time
restriction into the fit.  Solved for v'(m), hence
for m, unpacked v'(m) to get v = f(v',m).  Found
some of the structure of the functions I will need.
Will now write classes and organize my findings.