PERCEPTUAL ALTERNATION OF AMBIGUOUS PATTERNS: A MODEL BASED ON AN ARTIFICIAL NEURAL NETWORK