Update svm.cpp

Edited line 2127 to return confidence value for one_class SVM.