Total Inventory Cost Equation