Strictly triangular matrix for JS