The dystopian afterlife in this Miles Teller/Elizabeth Olsen has a grounding in real brain science, the director explains.