Exclude empty neurons

Empty neurons, that is neurons that haven't data associated with, are
excluded from the clustering algorithm, from the calculation to find
centroids and are left empty in the output grid image.