fixed average computation in ncdiag
fixed average computation in ncdiag

feltor-dev/feltor,feltor-dev/feltor,mwiesenberger/feltor,feltor-dev/feltor,mwiesenberger/feltor,mwiesenberger/feltor,mwiesenberger/feltor,feltor-dev/feltor