Neural optimal tracking control of constrained nonaffine systems with a wastewater treatment application. (November 2021)