simplex function

optimal parameter search for simplex projection