fixed underflow in svm_ind and written heuristic parameter search