Average overhaul

Updated the system to average over 10 samples and remove outliers.
Extensively uses numpy.