Fixed a lot of things dealing with division

Sometimes if you evaluated a/b you would actually get b/a. A lot more
types are supported now as well.