Averaging flash analog digitizer