Added plotting of posteriors at each step