Added support for map-reduce type usage of the main clustering
functions