using arr4_double(nxn,nyn,nzn,10) instance to sum moments