added ovo and fixed bugs in svm_ind