A novel method for aircraft attitude estimation using magnetic field sensors and dynamic modeling