added golden section search