Added compensation code for inaccurate lines
Line coordinate compenstation didn't really work...