decp function

Density function