add two kernel functions
add svm train predict