MAINT: move sparse expm into a separate utility function