Added a scatter plot for the dist^2. Added auto range for the dist^2 plots.