Merciless Refactoring

Refactored the harmonic sum decision, which is the only decoder as of today.  This created a lot of changes.