A Reliable Quality Index for Mushroom Cultivation