Return value of function getCenter() changed to reference of a Vector3D for better use in class CollisionDetection.