fixed calc error in svm w training

makes week 7 better, but still not good enough