leasing calculations