Corrected bug that meant there was overgrouping of effectors. Problem occured when loop terminated before array could be shifted.