Vector, matrix and geometry math JavaScript