An Adaptive Closed-Loop Robotic Exoskeleton for Upper Extremity Motor Rehabilitation