Completed Vector2 class