Update Main Function and PVAL

Update the main function to calculate over a unified range of distances
and changed the plotting function to return pvalues which are the next
step of things to plot.