debugging--
Fix averaging code
Use time_point_cast to assist with rounding errors
One less clock access