remove whitespace
wrap long line
CID 60866, 60868 : fix Coverity issue : Casting from integer values
introduce CircularAverage class to make sensor based orientation value less jumpy, close #147