added some debugging; check svm_eval()