Multipole Field Effects in a Transverse Gradient Undulator