Add log argument to dist_pdf
No longer need data to set xmin and parameters