Modified Structured Domain Randomization in a Synthetic Environment for Learning Algorithms