Perlin Generator

fixed the perlin generator