Update inventory-level.py

still some calculation errors