:param x:The initial point, that will become a centroid of an initial simplex. After the algorithm will terminate, it will be setted to the
point where the algorithm stops, the point of possible minimum.
:param x:The initial point, that will become a centroid of an initial simplex. After the algorithm will terminate, it will be setted to the point where the algorithm stops, the point of possible minimum.
:return:The value of a function at the point found.