Added PCA, LDA and image access code