Refactored the transfer function set up in RayTracedTechnique to prepare for new scale and offset uniforms. Updated wrappers