expand the _cvDownhillSimplex_ function body here. We want this code to deviate as much as possible from the original