SVM Classification Using Custom Kernel