Some SVM code written in julia