Functions

Translation of functions from AST to SAST is now working.