Dynamic modelling of human locomotion