Math Behind Svm