Elab and eval for functions

Hi Dr.Sutton,
Please find the code for elab and eval of functions.