Instead of gl-matrix, use [math.gl](https://math.gl) for matrix and vector operations, because it is object-oriented. NPM package is located [here](https://www.npmjs.com/package/@math.gl/core).