nc matrix with 0 and 1
nc matrix with -1 and +1