disc_value function

Calculates the present value of a cashflow