Code to generate PCA/SVD figs