Included an input line density for the generation from line density and
corrected bugs in case there are no intensity effects