temp-save. pca now computes eigenvectors and principal components

Still some minor memory leaks to be corrected
and display of results