this block calculates the BER itself internally by
comparing the original data (pre-distortion) from input i
with the post-distortion and post-decoding data on input
i+1. So input_items[i] ^ input_items[i+1] is the BER to
plot for that particular Es/N0 point.