Pātuhitia tēnei: A Versatile procedure for optimisation of a nonlinear