fixed bug in svm code, not really my fault