Minor changes

Added a constructor to the Vector2D class.