Coloc 2: Refactor Histogram2D algorithm to generate LineResult
Since the LiHistogram uses the Histogram2D functionality, too, the body
of thr execute() method must be factored out to be used from LiHistogram.
The execute() method of Histogram2D then adds the LineResult with the
AutoThreshold regression line information.