v0.0.57 improved regionMatrix()