Eliminated redundant code from computeind.pyx.