Optimize Perlin noise generation, make it look a bit nicer