Added svm stuff, plotting tool, etc