Fixed bug in point_line_pivot: did only work correctly with lines of length 1