Neural Network for Pattern Recognition