Accuracy evaluation of the Kinect v2 sensor during dynamic movements in a rehabilitation scenario