Moved Item stats calculations into inventorymodel