figuring out how to train this SVM