Fixed bug in Line Density

Fixed bad parameter input.