Development of algorithm for different programmable modes for a prototype of orthotic ambulatory device for gait rehabilitation. (2017)