Added perlin3 for 3d noise