Matlab and Fortran codes for the parabolic equation model