PolyExtendedGcd