Improved parallel sparse matrix calculation.