Second-order magnetization precession in an anisotropic medium. Part 1: Uniaxial anisotropy