Compute Weighted Average Inventory