added routines to solve the symmetric eigenvalue problem