Init pinmatrix.txt