Self-contained Calibration Determination by Jointly Solving the Attitude Estimation and Calibration Problem