added padding and tappering and fft filter, started integrating new stuff to master loop