stats update
Updated method for replacing nan to default value when processing stats. New method is more efficient. Also:
- updated netcdf output to write time dimension as unlimited.
Updated method for replacing nan to default value when processing stats. New method is more efficient. Also: