add option to check if eigen value and vector are solution of associated generalized eigenvalue problem