Fixed what got broken with refactoring of Vector3D class