added basic matrix math
got something to show up
modified code to work with webgl in a bad way
fixed a major memory leak