new functions Poll_Device to manage open and close and Read to return an array of raw measurments without averaging.
New intermediary function to return a list of n sequential measurments and a new running average function which accepts as input a list of measurments and returns a running average.  also many comments added throughout
revised median function to take a list as input.  also revised some names for clarity and annotated more.
replace 2 mean averaging functions with one which takes a list input.  rearrange order of functions for clarity.  Add more comments
reform rolling averaging with Last_Few list to conform to new function paradigm
Minor tweaks after live test and rewrite function to be executed during loop.Tested and working except where noted
ad new file test.py to facilitate manual manipulation of functions and names from python shell
prune cruft and minor improvements
merged recent values with enroll data function