A genetic algorithm for neural network design