Installment Sale Gain Calculation