Overloaded set_dimensions for sparse_matrix, so that setting storage format or matrix dimensions can be done first
Getting / setting entries of sparse_matrix type passes test