output GMat in LXdist