Passes tests. Now child class of sparse_matrix.