Correct copy-paste error affecting RDom of 3 and 4 dimensions.
Merge pull request #72 from lenhamey/bugfix130510

Correct copy-paste error affecting RDom of 3 and 4 dimensions.