Patrick Stewart did some intense research for one of The Next Generation's most memorable episodes. His work made it one of Star Trek: TNG's best.