Created a common base for Point and Vector.