Utilization of the Moore-Penrose inverse in the modeling of overconstrained mechanisms with frictionless and frictional joints. (November 2020)