Updated audioSampling.m to use functions

Updated audioSampling.m to use functions for normalizing and filtering/comparing the signals instead of doing all the processing. This enables us to write multiple filter functions in separate files that can be easily tested with the system.