optimisation of multivariate function | maxima and minima | relative maximum & minimum | critical