Add univariate density estimate, and some doc