Added 3d and 4d simplex noise