Pātuhitia tēnei: Optimal control of a CSTR process