Added wrapper for sparse solver.