Python And Fortran Code Fourier