Improvements to extract_consistent.py
extract_consistent.py -> get_all_top_bottom_pams.py