reserialized test data encodings that appeared to be corrupted
fixed failure to set nscales in a constructor and added IsCongruent method
added clean flags assertion
butchered HDCalculator down to extremely basic code