Gravar-mail: Phase Function Effects on Identification of Terahertz Spectral Signatures Using the Discrete Wavelet Transform