Change the fonction to compute the Gramm matrix of distances to use Parakeet