*Made function resolution work.
*Fixed bug in expr evaluation.
*other stuff
Merge pull request #3 from jspears/master

*Fixed objects passed to functions