Total Inventory Cost Formula