updated match_outlines so that it now returns a binary image w/ fg labeled 1 and all else labeled 0. reading images also now works. Screw you too, MATLAB.