Added Brent's Method