Added script to convert stats from tree aggregation logs to matlab arrays.