Fix perlin issues with new perlin algo