On the Optimal Design of Cable Driven Parallel Robot with a Prescribed Workspace for Upper Limb Rehabilitation Tasks