Initial attempt to fill the matrix