Extremum seeking control for optimization of an open-loop grinding mill using grind curves