Performing dimension reduction with Principal Component Analysis (PCA)