Greatly improved line loc(again) fixes bugs in line matching, interseceting area calculations, and avg line error