Moved setTransMat call method to insided of setInfo on Pattern