Updated SVM code
Updated SVM code