Gmdistribution works correctly