Updated Vector3 class