[widePlotter] Added an averaging feature to the extractData function.

Averaging can be toggled by pressing the 'a' button and is enabled by
default. Currently it only supports averaging to 32 channels but this
may be changed later.