Spreading activation layers, visual saccades, and invariant representations for neural pattern recognition systems