A Faster Way to Generate 2D and 3D Perlin Noise