Development of a Master-slave system for Upper Limb Rehabilitation