Added log function to CAGR.txt