Modified testing.assert_sparse_matrix_almost_equal to compare all nonzero elements as an array as opposed to adding up all the errors, since little errors in each element could add up to be greater than the 'decimal.' Though should we really be looking at relative errors rather than absolute errors?