removed a bunch of math code to help simplify things, figure out where the issue currently is. potentially with matrix format of math code. reworked existing code to be more C like. more logic to terrain class