Homogenized Magnetic Properties of Heterogeneous Anisotropic Structures Including Nonlinear Media