Fixed timing bug that cause bad estimates for making sparse matrices.