Added the rest of the math functions
Removed left over code from the old net code
Tidied up the term types and improved printing of the query tree
Added the wercker file