- Added complement and is_bes algorithms.