Implemented assignment step.
Implemented assignment step.

Implemented cluster assignment in a separate "details" namespace which
users shouldn't access. Moved mean initialization to this namespace as a
separate function to reduce the size of kmeans_lloyd.

genbattle/dkm