changed convergence criteria of COBYLA optimisation