some quick and dirty financial calculation helpers in ruby, present value, net present value and such