Added averaging feature

Each analog read can be averaged by setting 'averageCount' to the number
of reads to perform.