updated the index and added an operation in the test foreloop

The mod operator was changed to an AND with a bitmask (of (2^n)-1).  An extra operation was added to make sure the element takes some time and cannot be done with some quick assembly instruction.  The size for looping was changed to 10MB to make the time more substantial.