Modeling and Simulation of A Cable-Based Manipulator for Rehabilitation Therapies