they are updating z directly. not encoder matrix? bcoz u want sparisty in z, u are updating only ones above a certain threshold, and zeroing the rest of them