First phase of the matrix done.