Completed first-pass debugging and testing of HeatSegmentation class.
I'll note that there are still these logical errors in the code:
  - There is no check for the second derivative yet - the heuristic cuts directly after crossing the rate threshold.
  - I've taken some code directly from ThresholdSegmentation without checking it - I assume that it works so far.
      My first priority is expanding the test class to verify that this code works in the new class environment.
Moved some comments, changed some system log statements.
I've tested this code in the wild and it crashes ALOE - I'll look at that with the debugger tomorrow.