finding the best svm parameters