Added polynomial GCD and LCM.