Removed modPowCounters in GStarMod and fixed a minor bug in UniformDistribution