Add new averaging code.
Merge branch 'master' of https://github.com/cadtel/QCopters

This reverts commit b62609e801d5ad609637c941e6b1641325ef60b1.

Conflicts:
	main.py