MAG3110 library for arduino