added the calculation of the location of the center of mass of the Earth model and mesh