Add sparse matrix solving class
Clean up