Fix for incorrect XVEL YVEL in update halo and regeneration of code for ...

...all back ends