Bug fix : cannot return the reg-matrix.