[gapDetect] add header to first col in out matrix