Memory manager, Vector2D class