Added structure for competitive neural network