Modeling eye movements in a shape discrimination task