This paper answers the first primarily in terms of the second.
The first is answered in the paper.
The present value of estimated net cash outflows, when the lender disburses the guaranteed loans, is considered the cost.