Array of Semiconductor Nanowires Gas Sensor for IoT in Wastewater Management