Updated formatting for output files with exp groups with non-equal sample numbers

-if groups have non-equal n, prints heads for sample data to keep things straight
-if groups have equal n, prints only first line header as others aren't necessary