The eval here sounds like a bad idea to me. Isn't there a better way to get to this value? If not, we should consider having a self.m0 list that would contain g0m0, g1m1, ..