Calculates IRR of a Cashflow, simillar to Excels, XIRR formula.