Fixed eigenvalue calculation for eigenvalues-only.