replaced hanning by hanning_standalone
wrote standalone Hanning window function