A Software Sensor for Wastewater Treatment Plant