finished the first matrix