Modeling of Wastewater and Water Treatment Processes