Regression and PCA script.