PHP simplex noise generator