Update layer.density.Rd

Updated documentation