- updated bisectionMethod