Weighted Average for Inventory Costing Under a Perpetual Inventory System