added the magnetometer qualibration