Calculates best fit polynomials and correlation coefficients for dataset.