Glsl function transforms

Migrating transforms to new function system. 
Depends on PR #3.
"The return type of this function", now it looks like "This returns the type of this function."