added class jags_sample and functions combine_jags_samples and ply_jags_sample