Generalized algorithms for the approximate matrix polynomial GCD of reducing data uncertainties with application to MIMO system and control