dist_density function

Create distributional object based on a specified density