Add recipe to save centroids of input layer to an output layer.  Closes issue #42