Learning to Attend: Modeling the Shaping of Selectivity in Infero-temporal Cortex in a Categorization Task