RFC:The generalized singular value decomposition

I have included a test, but please test this if someone can think of corner gsvd cases.