A new learning algorithm for pattern classification using cellular neural networks