updating + cleanup of math.
merged mat4 with mat4-gl.