Toolbox for Bayesian inference for psychometric functions