Count lines in matlabtl input file to figure out matrix size.
Make sparsity work for non matlabtl matrices.
Update matlabtl test.