Computing Net Present Value