SQUASHME: Using Y.reshape instead of Y.flat for speed.

Squash into "Added noise generation to Simulator"