density_fun function

Density dependent mortality