fixed up some more of the math classes, trying to figure out what is going on with the terrain tiles not drawing