changes to output to files and incompete changes to svm features
various updtes