if you had m^0g^0 would you leave it in that form or would the simplified version be 1?

Anything to the zero power = 1.