Added tally cost functionality to Cashier.PurchaseItem().