nc_redef function

Puts a netCDF file back into define mode