First working version of second JAGS model. Whole thing should now work