N-Dimensional SVM