Text this: Coil windings determination using genetic algorithm