ENH: Sparse matrix support