-Fixed exceptions in svm model