Rehabilitation System via Microsoft Kinect