compute realCoefficients of DFT as local indices
realCoefficients would previously return the global indices, but these were used as local indices