Wrap up computation of 2D Hanning window into external method.