Keep eigenvector direction consistent