Minor changes to the Vector2D class

Added the setters to the Vector2D class and some comments.