code for multi core SVM CV