New global non-linear minimization algorithm for the simultaneous optimization of 3D wavefront attributes