Gradient ascent kernel, some more stuff for the tiger stained glass example.