Remove 30% performance impact from Well19937a/c, Well44497a/b through index caching

Also cleans up commented out reference code that is no longer needed.

The implementation is now both more DRY and fully performant at a negligible memory cost. :smiley: