pub type WeightedPoint = (f64, Array1<f64>);
A weighted point.
The distance between two weighted points d((w0, p0), (w1, p1)) is w1 * d(p0, p1).
d((w0, p0), (w1, p1))
w1 * d(p0, p1)