Changed the eigenvector checker function to be more accurate.