Filtering added to SVM