Add alg__set_matrix to set literal values in bulk.