made an exception in bisection when x0 = x1
Merge pull request #1 from laronandrew11/charles

made an exception in bisection when x0 = x1