Modest gain from non global uOld/vOld.
Simplifying and converting to call and return.
I believe that this is equivalent.
velocity solve now pure function.