Taylor polynomials and error estimation