Human gait simulation from a reduced set of low-dimensional tasks using hierarchical control