distUnitk function

Squared Euclidean distances of the unit k.