Add most of GoldenSectionMinimizer implementation