Changing parallelism scheme

Changing the parallelism from foreach-skip-based to for-indexed-based approach.
The references to `ElementAt` are wrong. Instead, you should pull out the `j + core`-th element of `valueParameters` similarly to my above comment.