Density and mixture calculations