data added for mat_q(n,R_w) for w in S_8 and S_9