A Model of the Lower Limb for Analysis of Human Movement