flagscore

HIRS2I.flagscore(M)

Calculate “flag score”; higher is worse.

To aid the selection of the “best” scanline between subsequenc scanlines, calculate a “flag score”.