Added cast operators to the Vector2 and Vector3 classes