bugfix in correlate_inter, num_shots vs num_pairs