K-CM: a new artificial neural network. Application to supervised pattern recognition