Updated birrt_to_goal method again.