load data and PCA
added a plot to choose which principal components to retain