A novel model for estimating the endpoint stiffness of a limb