Fixing synchronization issue in Worley Noise code