only calc down triangle of matrix
load matrixB entire only once
add signedmatrix