Utilities for working with scipy.sparse matrcies