Weighted incidence matrix