Added polynomial and gaussian RBF kernels