Pixel count fix in calibration

Fixed the calculation method for the length of the line tool: changed
from graphical pixel count to geometrical solution.