accumulator test script for averaging the potval