Update math classes from other libraries, gl-matrix, three.js.