add Wgt matrix

should be working but takes too long (+1h still computing)