modified code for datacount interrupts for magnetometer and accel/gyro.  Also, added a few new functions to HMC5883 class