Design of CUBE, a cable-driven device for upper and lower limb exercising