Added constructor that calculates vector between two points