SVM WIP

SVM work in progress