new svm code and gene mod stuff