Optimisation of the fibre-to-yarn process using genetic algorithms.