PCA works now. Working on PHOG