commit.
going to work with the webgl samples.
added some basic math