Make active-channels compile and work with master.

- Created non-zero checks for all active channel data members
- Solved a major constant memory usage problem
- Initialised LookupTables to zero in test code - this should be done in
  a constructor for the LookupTable class.