Ref #10 - fixed the mathematical problem with slope of a complete vertical line and slope = 0