Glsl function transforms

Migrating transforms to new function system. 
Depends on PR #3.