Calculates and returns coefficients for polynomial regression. (composer package)