fix two intervals
add a faster version of nanmean()
replace long (nData) DOP loop  by a matrix expr
add a switch for for/parfor in averageData()
averageData() -> AverageData()
switch back to parfor in the main loop
Update comment
rename the output vars for consistency
Add generation date as we can no longer use CVS
update comment