Close directory when we are done with it
Fix memory leaks when extracting NetCDF attribute values
Removed commented code
Remove unused code
Added helper class for NetCDF
Removed more unused code
Use index parameter, not hardcoded 0th index
Remove redundant conditional
Added NetcdfHelpers.h
Fix mem leak of NcVar edges. Also stopped leaks of more attribute values