SVM improvements