Stable paths working on some examples

Some lines not detected, still outputting debugging bmp