Added ability to enable and disable funcFit. The configuration file examples/runFuncFit.conf turns it on.

Minor fixes to modules

Changed the way EDP is computed to be tolerant of cases where we get garbage data from un-implemented sensors.