updated probit model and mixed model code