Adding Photoshop Math for hlsl/glsl