Setup functionsCompute the distribution of the mass of a body among springs. This method assumes that spring positions are given relative to the center of mass of the body, and that gravity occurs in the local -Z direction.