Modeling the magnetoimpedance in anisotropic wires