A biomechanical study of locomotion by hemiplegic patient