$Ax = \lambda Bx$ and the Generalized Eigenproblem