I\'m using the matrix element from the math.js library.
I create a matrix:
let eye = math.matrix([ [1, 0, 0], [0, 1, 0], [0, 0, 1] ]);