'Remove zero entries from the matrix
This is an *in place* operation'

def eliminate_zeros(self):

    mask = (self.data != 0)
    self.data = self.data[mask]
    self.row = self.row[mask]
    self.col = self.col[mask]
