Fixed the padRows function. Now everything (except the CD with exergy curve fit for TZ) is working with the Econ-Growth-Functions2.R file.