copied in old SVD and PCA experiments