Stable methods to solve the impedance matrix for radially inhomogeneous cylindrically anisotropic structures