PRAXIS: Brent’s algorithm for function minimization