adding some magnetometer required calculations