solved problems with sparse matrix test