Finished matrix and list started dg alg