update plotPosteriorDensity

useful to plot trace with different thinning and burning since coda
functions work with mcmc.list only if the different elements have same
thin and burn
fix bug in mcmc traces