9-DOF IMU-Based Attitude and Heading Estimation Using an Extended Kalman Filter with Bias Consideration