Fix one dimensional global optimization code. Test for multiple minima.