Update PatternMatrix.h

Set matrix public. Temporal change for test.