A Generalized Stimulus Sampling Model of Binary-Choice Behavior