Update gestureToVector.js

syntax of enqueuing into controlPoints array