Connectionist Implementation of a Theory of Generalization