plotting the histograms
changing max_corr_dist and plotting histograms for each case
bugs: waiting for file write to be done, output size increase