Added 2D perlin function using an lcg