Add SVM to 2D case