Algorithm AS 136: A k-means clustering algorithm - Hartigan, JA; Wong, MA (Journal of the Royal Statistical Society Series C (Applied Statistics), 1979)