A catastrophe model for the effects of a response set on a discrimination task