More additions to bisection.py