A Generalized Software Solution for the Estimation of Joint Moments: an Application to Lifting