Removed old sparse matrix code