Added NPV and IRR

IRR algorithm is as wikipedia