minor bug fixes to parseFunction()
Merge branch 'master' of https://github.com/cdepatie/uoguelph