Inverse dynamic analysis of the human locomotion apparatus for gait