pca and application

the pca is working correctly but for the moment the application to the
image is not really efficient