Compound annual growth rate between a beginning and ending value over N years: (end/begin)^(1/years) - 1. Also returns total growth over the whole period.