test_PSI function

runs a principal component analysis (PCA) on the residuals of the rasch model.