Weighted Euclidean distance works.
Add weighted Frobenius distance.
Add function to compute the distance from a line to a point.
Add TriangleTensor implementation.