Description and application of a system for locomotor rehabilitation