updates
updated and made fixes to the pca stuff