CRITICAL FIX
- rewrite pca algorithm
- make test with exampled image 100% ssim index obtained

PCA now working correctly.