Adaptive behaviour of the spinal cord in the transition from quiet stance to walking