Redoing Perlin Noise generator