Removing global macro AVERAGE_SPEED -> moved to static const.
Fixing doxygen comment warnings.
Adding missing include.