fix ex6, code up v1 of svm