Something wrong with C matrix