added routines to solve the eigenvalue problem