Calculate Cost Of Goods Purchased