flatten values in IRR formula

Multi dimensional values are also a valid argument for the IRR formula in Excel, they should be valid here as well and flattening the values argument will do the job. I also added a test for this that yields the same result as the same arguments in a uni dimensional array.