Worked out the basic line2line algorithm, so can get started on lines and polys

BUT, maybe should add a check for intersection and thus 0 distance...