noise function in 3D | ScratchStats