added svm cross validation