Add logGrowthRate function and use it in growthFunction