made changes to the pose_estimator script in raven_pose_estimator