add magnetometer hard and soft iron calibration