main, glfun: linear transforms as a function