Calibrate magnetometer arduino