Created hann window routine with success!