Compiled the code as is, but a problem in first row of c-matrix