Why did you take dimR? In scalding we are usually dealing with effectively infinite matrices, but the only some of the values are present.  I think we should take the max of rows and columns here to be pessimisitic.

We can be a bit more careful about the sparsity derivation though.  The SizeHint object in scalding already handles this, however, and I think the next step will be to use that object directly.