Continue refactoring NetCDF modules.

Goal is to allow for multiple variables to easily be written to the same NetCDF file. Old code assumed that one NetCDF file was required for each output variable.