improved Linear using Herones f-la
for nearest line