re-enabled grid search for priors
added script to create libsvm compatible learning problem