Calculate using moving averages of voltage readings

Change-Id: I45ebe86cb3f166eb71aaafdd14ebb313f6199079
Merge pull request #3 from ccarpita/new/moving-avgs

Calculate using moving averages of voltage readings