bug fix cmatrix per freq
bug fix cmatrix