Doc update for compute_pairs