added posterior plot function

Just to try if this pull request works