add rbf kernel computation