Developing tractable density estimation models