Added headings functions for compass module, and update 9 degrees function to return full information