simplified entropy check
rework of filter_alignment.apply_lane_mask_and_gap_filter

* no more temporary files
* cyclomatic complexity down from 34 to 9
* much smaller method