Dynamic stability of gait cycles as a function of speed and system constraints.