Changed bayesian func to include log and new corner_plot function