Initial (not working) SVM code.