Calculate simple annualised growth or date-weighted internal rate of return for irregular cash flows.