brent root finding method added