fixed line intersection functions, they now work