Added noise function to shader

Added a 4D simplex noise function to the luminance shader. Also added a
license for that function.