Finish sparse solver implementation.