FIX: problems with eig and eigvals. Enhanced tests.