Fitting the psychometric function.

Fitting the psychometric function.