calculating annual rate of return over multiple years