Your head is there to move you around: Goal-driven models of the primate dorsal pathway