Support conversion of dense to sparse
Merge pull request #307 from adamrp/table_factory_dense_support

Support conversion of dense to sparse