configured matris for pi