Periodic Fourier Transform and its application to Wave Scattering from Finite Periodic Surface