Remove unnecessary if statement from inner loop of Wigner D