added tools for basic computations. This one has the distance between a finite line and a point