initial work
applies hamming window to signal