fixed bug in calcualting GMAP - should return nth root of product of APs
instead of square root