Fixed Line Detection

Line detection should now return different values for different shades.
Can be improved upon to allow for color return.