Updated python interface to support max_iter and tolerance settings for bb