TimeVarWeights_GVAR function

Compute the star variables with time-varying weights