write.likelihood function

Adds sections of JAGS code for an MBNMA model that correspond to the likelihood