Added a few features to bayesutils for 1d and 2d marginalized pdfs