working on svm_predict