Implementation of Genetic Algorithm in Polarization Control System