Density kwarg

Closes #16