Updated psychometric function fitting