Implemented Vector3 class.