Removed unnecessary lines, when determining pitch and yaw values.