Added outputing svm data.