distg function

Distance matrix with geometric anisotropy