More fixes for svm grid operation; added libsvm to project deps.