ATM vx, vy was not properly updated in cuda code