Moved several functions to methods of FHT to avoid namespace conflicts when FFT is added. Despite not changing any state, pointer methods are used to avoid overhead which is particularly significant on sumDiff* methods.