Improvements to time averaging in roms-energy.m - hopefully works for all ntavg now.
Improvements to time averaging in roms-energy.m - hopefully works for all ntavg now.

Signed-off-by: deepak <f6756db1fcd61cbebf30fd7be0a1e44af00b9082@gmail.com>

dcherian/tools,dcherian/tools,dcherian/tools,dcherian/tools,dcherian/tools,dcherian/tools,dcherian/tools,dcherian/tools