Genetic algorithms as applied to the numerical computation of electromagnetic scattering by weakly nonlinear dielectric cylinders