A Program to Calculate the GAMM Measure