Compute velocity and acceleration given gaze position