Calculate Cost Of Goods Sold