fixed compile
added perlin noise