Measurement of evoked potentials