Measurements and sensors for motion tracking in motor rehabilitation