Added code for PCA tutorial