Calculate Average Cost Of Goods Sold