used triplet notation for matrix stuffing instead of setting views.