Inventory Valuation: How Companies Can Calculate It