Orbit Determination and Attitude Maneuver using the Earth Magnetic Field Measurements for Small Satellite