Add code to generate centroids.
Add 'fibers' to list of excluded keys when exporting to matlab.