CommonJS 2D Vector utility