Several modifications and added the netcdf poitners