Adding Vector2d class