Among the CIA's many tricks during the Cold War, it turns out, was some actual magic.