A genetic approach to the automatic generation of fuzzy control systems from numerical controllers