Bayesian Inference for PSychometric functions