Attitude-Determination Problems for a Rigid Body