Application of SVM for evaluation of training performance in exergames for motion rehabilitation