Updated model code to fit complex hierarchical model to turnout data