created a library that contains Metric.php for calculating IRR based on a series of cash flows and an expected final value. It is a very crude tool, that still needs to be optimized