added averaged distance to center of gravity