move dftUGrad assignment into if statement
With this change the integration testing branch I'm working off of is fully consistent with the Fortran code, at least in the single variant case.
With this change the integration testing branch I'm working off of is fully consistent with the Fortran code, at least in the single variant case.