Implemented example use of a 2D transfer function.