dist_wrap function

Create a distribution from p/d/q/r style functions