Added function to output matrix to matlab. Do lots of fill in and other
characteristics about the sparsity patterns.