Finding the center of mass in relation to the new coordinate system in millimeters