updating svm code; cross validation and normalization added