mex of Gaussian kernel computations