Dynamical model of the human arm taking into account the form of the contact sufaces of the joints