Gas Detection in Waste Water Treatment