G1DistMat.m precomputes covariances and inverses