code: function mmult(A, B, n) {
    var C = new Array(n * n);
  
    for (var i = 0; i < n; i++) {
      for (var j = 0; j < n; j++) {
        C[i * n + j] = 0;
      }
  
      for (var k = 0; k < n; k++) {
        for (var _j = 0; _j < n; _j++) {
          C[i * n + _j] += A[i * n + k] * B[k * n + _j];
        }
      }
    }
  
    return C;
  }
docs: TODO: blocked matrix multiplication?