matern kernel for nu=0.5
gradient of the matern kernel