Calculates Net Present Value (NPV) and Internal Rate of Return (IRR) from provided cash flows and a discount rate, returning NPV and IRR.