A Parallel Implementation of Neural Models for Pattern Recognition