Decreased amount of internal-state for pseudopotential matrices

Storing the matrix diagonal and the eigenvalues inside the derived type
now seems silly, so this has been scrapped. What was once a subroutine
to "return" the eigenvalues as internal state is now a function which
actually returns the eigenvalues.