fixing bug in PlotBPosterior
Merge pull request #16 from clandere/master

fixing bug in PlotBPosterior and seems like some older stuff which I forgot to merge earlier. Like a change in the convergence test.