gsi.calcCgram function

Compute covariance matrix oout of locations