Linear dimensionality reduction: principal components analysis (PCA) and the singular value decomposition (SVD)