Comet uses sparse matrix.