Modeling and Control of a Lower-Limb Rehabilitation Robot