Use quotient/remainder in bezout

Use quotient/remainder in bezout. This is much more efficient.