added a function to return the orientation of a reading (relative to
north). Unfortunately it requires arctan