WeightedEuclidean batch mode

Includes unit tests, doc updates.