Added normalize and truncate methods to the Vector2D class