cwrnn: modifying for efficient computation
got rid of mlp.py and installed indices in constructor