average matmul data with awk