Modern Fortran edition of REGRIDPACK
