Add solution of generalized eigenvalue problem to eigs (#6758)