Fixes orthonormalize_against method edge case.
Merge branch 'master' into pca_hotfix
changes variable name and adds test of the edge case
Merge pull request #365 from jalabort/pca_hotfix

Fixes orthonormalize_against method edge case.