Added brute force root finder.