Calculate annualized rate of return