Intelligent Monitoring System for Long-Term Control of Sequencing Batch Reactors