Text this: Motion control and singular perturbation algorithms for lower limb rehabilitation robots