fixed off by one error in indexing data from historical inflation

You were one index too deep on the retrieval of the values from the inflation estimates.

This does seem like something that needs to be abstracted out, however, as the case of the most current year doesn't have a guaranteed 'n' columns to pull from.