Make frequency table creates more efficient

Changed to use data.table built in summing based on a group of columns.
Make decode list more flexible and faster

Use data.table to matrix to vector capabilities to make decode list
creation more flexible and faster.
Add function to combine count tables