Taylor series based approximation of impulse response functions and ergodic moments