Polynomial and rational extrapolation methods