Mathematician Katherine Johnson played a crucial role in calculating the trajectories for Nasa space missions.