Added code to fit horizontal threshold line to triangle.
Changed threshold lines to black.