Added periodic option to plot_kde_posterior.