Extended to run on wav files + bug fixes

Detector now accepts wav files as input.

Transfer functions are now optional. The detector will run without, but
received levels will not be accurate.

Some input classification step parameters were modified to be in
milliseconds rather than samples, for consistency across sampling rates,
associated with extension to wav files.

Some cleanup and unnecessary function calls removed.