Fixed motion_averager.cpp
Fixes and cleans
Fixes and cleans