Added code for 4D simplex noise