Optimal Inflation Rates: A Generalization