Fixed concave profile issue & reintroduced hrlib::Brent for more robust minima