Added default heading function to Arduino sketch for when  magnetometer available.