Added variable attributes to EventFile.
VariableSortedAnalysis now sizes the legend based on added histograms instead of number of categories.