Even though the movie is a little confusing, there's real science and math behind the titular device from Indiana Jones and the Dial of Destiny.