Deleted lengthFreq and replaced with lenFreq
modified domain to include NMTOT
Modified lenFreq to calculate length frequency aggregated by agg.by parameter
Modified lenFreq to avoid divide by zeroes for frequencies