reverted solve and eigenvalues methods