fixed eigenvalue decomposition