Bug fixing: local cluster centroids when no fields in input_data

perhaps we could have a `utils.exportModule()` or somesuch