how to find the trace of a matrix in javascript
how to find the trace of a matrix in javascript