Bugfix: updating qc.mat