Small Pipeline Trajectory Estimation Using MEMS Based IMU