sort of finished the analyze macro and changed the histogram names for the read data macro to be more consistent