remove the 2d Point class and replace it by an n-dimensional Vector class