Moved files to libwaveplot directory, to improve installation.
Updated Makefiles to reflect directory change.
Fixed problem with generate_sonic_hash, where averages weren't correctly calculated. Also changed return type.