Carbon and nitrogen removal at a large wastewater plant