Utility sparse matrix functions for Quantitative Language