Error-driven learning in visual categorization and object recognition: a common-elements model.