Fix bug for when there are complex eigenvectors