"I have a conceptual problem with magnetometer calibration. Let's assume my magnetometer has both hard-iron and soft-iron problems. After compensating for the hard-iron effects (i.e. after offset has been removed from measurements), I have a rotated…"