If anybody's interested, I wrote a discounted cash flow & IRR calculator, where given a regular cash flow, it will either calculate today's value of the cash flow (where you provide the interest rate at which to discount), or it will calculate the internal rate of return of the cash flow (where you provide today's sum).

http://sporkforge.com:424/finance/cash_flow.php