ensure eigenvector with eigenvalue 1 is selected