Compute Return on Investment — total percentage return, total gain, and the annualized return (CAGR).