better perlin







now the perlin noise is seamlessly tileable
i also optimized the functions.
i'm improving it step by step.