— Function File: return = mirr (cashflow, finrate, reinvestrate)
Compute the modified internal rate of return.
Take periodic cashflows as a vector and the finance rate,
finrate, for negative cash flows and a reinvestment rate,
reinvestrate, for positive cash flows.