reverts back to non-map non-lambda version of perlin function. it's significantly faster on rpi.