What is the correct formula to use when you are calculating the IRR for irregular periods of cash flow? Thank you.