PCA bug fixed

- fixes #1871
- replaced only apply_to_ feature_matrix implementation with eigen3 code
- added PCA unit test