started writing new matrix/vector definitions to be used with webgl