perlin2d smooth, linear interp, cosine interp