code: def millRule(self,aLvlNow,pLvlNow):
          '''
          Function to calculate the capital to labor ratio, interest factor, and
          wage rate based on each agent's current state.  Just calls calcRandW()
          and adds the Markov state index.
  
          See documentation for calcRandW for more information.
          '''
          MrkvNow = self.MrkvNow_hist[self.Shk_idx]
          temp =  self.calcRandW(aLvlNow,pLvlNow)
          temp(MrkvNow = MrkvNow)
          return temf millRule(self,aLvlNow,pLvlNow):
          '''
          Function to calculate the capital to labor ratio, interest factor, and
          wage rate based on each agent's current state.  Just calls calcRandW()
          and adds the Markov state index.
  
          See documentation for calcRandW for more information.
          '''
          MrkvNow = self.MrkvNow_hist[self.Shk_idx]
          temp =  self.calcRandW(aLvlNow,pLvlNow)
          temp(MrkvNow = MrkvNow)
          return temp
docs: Function to calculate the capital to labor ratio, interest factor, and
          wage rate based on each agent's current state.  Just calls calcRandW()
          and adds the Markov state index.
  
          See documentation for calcRandW for more information.