functions now work as both stand alone stmnts and part of expressions

Signed-off-by: Stuart Long <srl51@case.edu>