Made matrix equality checks more lenient in PCA tests.