Text this: Enhancement of polarization controller characterization using genetic algorithm