Re-wrote arithmetic functions in PointVector to prevent memory leaks, added static versions of all functions.