Modified ncedit.f90: low memory cost in reading the original arrays
Modified ncedit.f90: low memory cost in reading the original arrays