eliminate_zeros() added
dict of sets replaced with matrix_lil, etc
Tests