cast eigenvalues to real