(2), we can see that REIN-FORCE will update the parameters only when G t is non-zero.
the value of γ determines how the parameters are updated and to what extent the the internal states will be influenced by the future.