Application of the UMoM for the computation of the scattering by dielectrics with weakly nonlinear layers