Added avg sensor calculations and avg collection
Merge remote-tracking branch 'origin/master'