Added functions to process heading estimates.