advanced_image_processing: In removing_lines, fixed a problem with generating points from the zero_mask_i_outline. Also, did some general code cleanup.