Inverse Feedforward Control with Output Polynomial Smoothing