Kinematics and Design of a Portable and Wearable Exoskeleton for Hand Rehabilitation