Add generalized eigenvalue decomposition